package com.yawn.zddefect.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.activiti.engine.task.Comment;

import java.io.Serializable;
import java.util.List;

/**
 * @author Created by yawn on 2018-01-31 13:52
 */
//
@JsonIgnoreProperties(ignoreUnknown = true, value = {"commentList"})
public class Defect implements Serializable {

    private String code;

    private String projectId;

    private int rank;

    private String content;

    private List<String> attachmentList;
    private List<Comment> commentList;

    private String taskId;
    private String taskName;

    private boolean completed;

    private String assignee;
    private boolean finished;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<String> getAttachmentList() {
        return attachmentList;
    }

    public void setAttachmentList(List<String> attachmentList) {
        this.attachmentList = attachmentList;
    }

    public List<Comment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<Comment> commentList) {
        this.commentList = commentList;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public boolean isCompleted() {
        return completed;
    }

    public void setCompleted(boolean completed) {
        this.completed = completed;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public boolean isFinished() {
        return finished;
    }

    public void setFinished(boolean finished) {
        this.finished = finished;
    }
}
